<%@ page language="java" import="java.util.*" pageEncoding="UTF-8" isELIgnored="false"%>
<%@ taglib prefix="s" uri="/struts-tags"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
    <head>

        <title>留言</title>

        <script type="text/javascript" src="${pageContext.request.contextPath}/js/zcms/zDrag.js"></script>
        <script type="text/javascript" src="${pageContext.request.contextPath}/js/zcms/zDialog.js"></script>
        <script type="text/javascript"   src="${pageContext.request.contextPath}/js/DatePicker/WdatePicker.js"></script>
        <link href="${pageContext.request.contextPath}/css/style.css" rel="stylesheet" type="text/css">
        <script type="text/javascript">
	
            function checkForm(){
               
                return true;
            }	
        </script>

        <script type="text/javascript" src="${pageContext.request.contextPath}/js/kindeditor/kindeditor3.5.6.js" charset="UTF-8"></script>


    </head>
    <body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" style="overflow:auto;">
        <table cellspacing=0 cellpadding=0 border=0 width="100%">
            <tr>
                <td width="1%" height="22" align="center"
                    background="${pageContext.request.contextPath}/images/main20100521_582.gif"
                    style="color: #FFFFFF; font-weight: bold; padding-left: 5px; padding-right: 5px;"><img src="${pageContext.request.contextPath}/images/modpass.gif" width="16" height="16"></td>
                <td width="99%" background="../images/main20100521_582.gif" style="color: #FFFFFF; font-weight: bold;">查看留言</td>
            </tr>
        </table>
        <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
            <s:form id="form" name="form" action="update.action" method="post" theme="simple" namespace="/message">
                <s:hidden id="msg.id" name="msg.id"></s:hidden>            
                <tr>
                    <td bgcolor="white" valign="top">
                        <table width="99%" border="0" align="center" cellpadding="2" cellspacing="1" bgcolor="#b5d6e6">
                            <tr>
                                <td width="5%" align="right" bgcolor="#deebf1" class="zczb_qua">内容：</td>
                                <td width="35%" bgcolor="#FFFFFF">
                                    <s:property value="msg.content"/>
                                </td>
                            </tr>
                            <tr>
                                <td width="5%" align="right" bgcolor="#deebf1" class="zczb_qua">留言时间：</td>
                                <td width="35%" bgcolor="#FFFFFF">
                                    <s:date name="msg.createtime" format="yyyy-MM-dd HH:mm:ss"/> 

                                </td>
                            </tr>
                            <tr>
                                <td width="5%" align="right" bgcolor="#deebf1" class="zczb_qua">留言人：</td>
                                <td width="20%" bgcolor="#FFFFFF">
                                    <s:property value="msg.authorName"></s:property>

                                </td>
                            </tr>

                            <tr>
                                <td width="5%" align="right" bgcolor="#deebf1" class="zczb_qua">留言内容：</td>
                                <td width="35%" bgcolor="#FFFFFF">
                                    <s:property value="msg.content"></s:property>
                            </tr>
                            <tr>
                                <td width="5%" align="right" bgcolor="#deebf1" class="zczb_qua">回复内容：</td>
                                <td width="10%" bgcolor="#FFFFFF">  
                                    <s:textarea id="msg.recontent" name="msg.recontent"  cssStyle="width: 60%"/>
                                </td>
                            </tr>
                            <tr>
                                <td width="5%" align="right" bgcolor="#deebf1" class="zczb_qua">回复时间：</td>
                                <td width="10%" bgcolor="#FFFFFF">  
                                    <input id="msg.recreatetime" name="msg.recreatetime" 
                                                  onclick="WdatePicker()" cssClass="Wdate"
                                                  onfocus="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})"
                                                  value="<s:date name="msg.recreatetime" format="yyyy-MM-dd HH:mm:ss"/>"
                                                  style="width:30%"></input></td>
                                    </td>
                                </tr>

                                <tr align="center" style="height:25">
                                    <td height="30" colspan="2" align="center" nowrap="nowrap" bgcolor="#FFFFFF">
                                        <input name="submit" type="submit" value="回复留言" class="mmBtn" onClick="javascript:return checkForm();">&nbsp;&nbsp;
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
            </s:form>
        </table>
    </body>
</html>